<div>
  <nz-modal
    [(nzVisible)]="merchantUpdateVisible"
    [nzTitle]="modalTitle"
    [nzContent]="modalContent"
    (nzOnCancel)="handleCancel()"
    (nzOnOk)="handleOk()"
    nzCentered
  >
    <ng-template #modalTitle>{{title}}</ng-template>

    <ng-template #modalContent>
      <nz-spin [nzSpinning]="isSpinning">
        <div class="content">
          <form nz-form [formGroup]="validateForm">

            <nz-form-item>
              <nz-form-label [nzSpan]="6" nzRequired>线上币数</nz-form-label>
              <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入福利最大限额">
                <nz-input-number formControlName="welfareReturnCoinSum" [nzMin]="1"
                                 [nzStep]="1"></nz-input-number>
              </nz-form-control>
            </nz-form-item>
          </form>
        </div>
      </nz-spin>
    </ng-template>

  </nz-modal>
</div>
